const apiUrl = {
    //系统配置模块
    system: {
      dictCatalog: {
        list: {
          url: "/sys/sys-dict-catalog/list",
          method: "get"
        },
        add: {
          url: "/sys/sys-dict-catalog",
          method: "post"
        },
        getById: {
          url: "/sys/sys-dict-catalog/{id}",
          method: "get"
        },
        update: {
          url: "/sys/sys-dict-catalog",
          method: "put"
        },
        delete: {
          url: "/sys/sys-dict-catalog/{id}",
          method: "delete"
        }
      },
      dictItem: {
        list: {
          url: "/sys/sys-dict-item/list",
          method: "get"
        },
        add: {
          url: "/sys/sys-dict-item",
          method: "post"
        },
        getById: {
          url: "/sys/sys-dict-item/{id}",
          method: "get"
        },
        update: {
          url: "/sys/sys-dict-item",
          method: "put"
        },
        delete: {
          url: "/sys/sys-dict-item/{id}",
          method: "delete"
        }
      }
    },
    // 用户模块
    user: {
      staffList: "/sys/sys-dict-catalog",
      login: "/api/login",
      loginOut: "/api/loginOut"
    }
  }
;
export default apiUrl;
